$(document).ready(function(){	
	// adding first/last item of header - main sub-menu
	$('.menu li:first-child').addClass('first-child');
	$('.menu li:last-child').addClass('last-child');
});